<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/2/7
  Time: 18:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8"
         buffer="8kb"
         language="java" %>
<html>
<head>
    <title>Out的使用</title>
</head>
<body>
<%
 // JspWriter 向缓冲区写入内容；
//  缓冲区满了以后 就向浏览器输出
    out.write("abc");
    out.flush();
    System.out.println("getBufferSize"+out.getBufferSize());
    System.out.println("getRemaining"+out.getRemaining());
    response.getWriter().write("123");
%>
</body>
</html>
